<style type="text/css" media="all">
    #table .btn{
        display: flex;
        align-items: center;
        justify-content: center;
        height: 36px;
        border-radius: 18px;
        margin-bottom: 10px;
        width: 100px;
        color: #fff;
    }
    #table .btn-detail{
        background: #62CB81;
    }
    #table .btn-change{
        background: #1677FF;
    }
    #table .btn-status{
        background: #FFA600;
    }
    #table .btn-cancel{
        background: #F7F7F7;
        color: #666666;
    }
    #table .btn-down{
        background: #7B65FB;
    }
    .icon{
        width: 18px;
        height: 18px;
        margin-right: 10px;
    }
    .notice{
        display: flex;
        align-items: center;
        background: #CEEBD8;
        padding: 0 18px;
        color: #4C9A63;
        height: 68px;
        border-radius: 10px;
        margin-bottom: 10px;
    }
</style>
<div class="notice">
        <img src="__CDN__/assets/addons/service/image/notice.png" alt="" class="icon" />
        温馨提示：只有开启到店功能的商家到店核销项目
</div>
<div class="panel panel-default panel-intro">
    
    <div class="panel-heading">
        {:build_heading(null,FALSE)}
        <ul class="nav nav-tabs" data-field="status">
            <li class="{:$Think.get.status === null ? 'active' : ''}"><a href="#t-all" data-value="" data-toggle="tab">{:__('All')}</a></li>
            {foreach name="statusList" item="vo"}
            <li class="{:$Think.get.status === (string)$key ? 'active' : ''}"><a href="#t-{$key}" data-value="{$key}" data-toggle="tab">{$vo}</a></li>
            {/foreach}
        </ul>
    </div>


    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('service/goods/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
                        

                        
                    </div>
                    <table id="table" class="table table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('service/goods/edit')}"
                           data-operate-del="{:$auth->check('service/goods/del')}"
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
